#ifndef ___hora

#define ___hora 1

#include <sys/time.h>
#include <stdlib.h>

long double hora(void);

long double hora(void) {
  struct timeval t;
  gettimeofday(&t, NULL);
  long double hora1, hora2;
  hora1 = (long double) t.tv_sec;
  hora2 = (long double) t.tv_usec;
  hora2 /= 1000000.0L;
  return hora1 + hora2;
}

#endif